

class CSADriver : public CBaseDriver, public CBaseMMU, public IKonamiCPUCallbacks, public ISoundDeviceCallbacks {
	
		private:
			CKonamiCPU* konami; 
			ISoundDevice* ym;
			int bank; // Konami bank (controlled via Setlines)

			CMemory* rom;
			UINT8 memspace[0xffff];
			UINT8 banked_ram[0x8000]; // maybe overdoing it?

		public:
			void SndInterrupt(CBaseSoundDevice* dev, int status);

		public:
			void KonamiSetlines(int lines); 

		public:
			void Write8(UINT64 offset, UINT8 data);
			UINT8 Read8(UINT64 offset);

		public:
			int Init(CHardware* hardware);
};